FROM openjdk:17-alpine
ENV LANG=zh_CN.UTF-8 \
    LC_ALL=zh_CN.UTF-8 \
    TZ=Asia/Shanghai
CMD java ${JAVA_OPTS} -XX:AutoBoxCacheMax=20000 -Djava.security.egd=file:/dev/./urandom -jar /app.jar
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
ADD *.jar /app.jar
